﻿package net.wangit.jdbc.type;

import net.wangit.jdbc.Type;
import net.wangit.util.StringUtil;

@SuppressWarnings("serial")
public class DoubleType extends AbstractType {

	public DoubleType() {
	}

	public int code() {
		return Type.DOUBLE;
	}

	public String getTypeName() {
		return "double";
	}

	public String formatInput(String value) {
		return StringUtil.clearSpace(value);
	}

	public String formatValue(String value) {
		return value;
	}
}
